package org.bonorsoft.common.constant;

/**
 * @author: huangxutao
 * @date: 2019-06-14
 * @description: 缓存常量
 */
public interface CacheConstant {

	/**
	 * 字典信息缓存
	 */
    public static final String SYS_DICT_CACHE = "sys:cache:dict";
	/**
	 * 字典信息-类别缓存
	 */
	public static final String SYS_DICT_CACHE_ITME = "sys:cache:dict:item";
	/**
	 * 表字典信息缓存
	 */
    public static final String SYS_DICT_TABLE_CACHE = "sys:cache:dictTable";

	/**
	 * 数据权限配置缓存
	 */
    public static final String SYS_DATA_PERMISSIONS_CACHE = "sys:cache:permission:datarules";

	/**
	 * 缓存用户信息
	 */
	public static final String SYS_USERS_CACHE = "sys:cache:user";

	/**
	 * 全部部门信息缓存
	 */
	public static final String SYS_DEPARTS_CACHE = "sys:cache:depart:alldata";


	/**
	 * 全部部门ids缓存
	 */
	public static final String SYS_DEPART_IDS_CACHE = "sys:cache:depart:allids";


	/**
	 * 测试缓存key
	 */
	public static final String TEST_DEMO_CACHE = "test:demo";

	/**
	 * 字典信息缓存
	 */
	public static final String SYS_DYNAMICDB_CACHE = "sys:cache:dbconnect:dynamic:";

	/**
	 * 字典信息-统计
	 */
	public static final String SYS_DICT_CACHE_TOTAL = "sys:cache:dict:total";

	/**
	 * 系統配置緩存
	 */
	public static final String SYS_CONFIG_CACHE = "sys:config:cache";

	/**
	 * 钉钉根据user_id获取的用户信息
	 */
	public static final String DING_USER_INFOR = "ding:cache:user";

	/**
	 * 对外统计信息
	 */
	public static final String SYS_DICT_OUT_STATIC = "education:static:out";

	/**
	 * 学段类型
	 */
	public static final String SYS_DICT_LEARN_TYPE = "edu:learn:type";
}
